﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BUGCOME.Model.File.Outher
{
    /// <summary>
    /// 文件上传结果实体
    /// </summary>
    public class FileUploadResult
    {
        /// <summary>
        /// 文件ID
        /// </summary>
        [JsonConverter(typeof(ValueToStringConverter))]
        public long FileId { get; set; }

        /// <summary>
        /// 文件原名
        /// </summary>
        public string FileName { get; set; } = string.Empty;

        /// <summary>
        /// 访问地址
        /// </summary>
        public string AccessUrl { get; set; } = string.Empty;

        /// <summary>
        /// 存储类型（对应StoreType枚举值）
        /// </summary>
        public int StorageType { get; set; }
    }
}
